<include file="./Application/Home/View/Public/header.html" />

                <!-- Main content -->
                <section class="content">
                    <div class="row">
                        <!-- left column -->
                        <div class="col-md-6">
                            <!-- general form elements -->
                            <div class="box box-primary">
                                <div class="box-header">
                                    <h3 class="box-title">网站添加</h3>
                                </div><!-- /.box-header -->
                                <!-- form start -->
                                <form role="form" action="" method="post" id="addH">
                                    <div class="box-body">
                                        <div class="form-group" id="adddomainerror">
                                            <label >站点域名</label>
                                            <input type="text" class="form-control" id="domains" placeholder="请输入域名或IP(多个域名请用英文逗号隔开)">
                                        </div>
                                        <div class="form-group">
                                            <label >目录大小限制</label>
                                            <div class="input-group">
                                                <input type="number" min="0" class="form-control" placeholder="不限制" data-toggle="tooltip" data-placement="top" title="输入0或留空为不限制">
                                                <span class="input-group-addon">M</span>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label >下载限制</label>
                                            <div class="input-group">
                                                <input type="number" min="0" class="form-control" placeholder="不限制" data-toggle="tooltip" data-placement="top" title="输入0或留空为不限制">
                                                <span class="input-group-addon">KB/S</span>
                                            </div>
                                        </div>
                                    </div><!-- /.box-body -->

                                    <div class="box-footer">
                                        <button type="button" id="addhost" class="btn btn-primary"><i class="fa fa-check-square-o"></i> 添加</button>
                                    </div>
                                </form>
                            </div><!-- /.box -->

                        </div><!--/.col (left) -->
                        <!-- right column -->
                        <div class="col-md-6">
                            <!-- general form elements disabled -->
                            <div class="box box-success">
                                <div class="box-header">
                                    <h3 class="box-title">一键添加</h3>
                                </div><!-- /.box-header -->
                                <div class="box-body">
                                <form role="form" action="" method="post" id="addALLH">
                                    <div class="box-body">
                                        <div class="form-group" id="adddomainserror">
                                            <label >站点域名</label>
                                            <input type="text" id="adddomains" class="form-control" placeholder="请输入域名或IP(多个域名请用英文逗号隔开)">
                                        </div>
                                        <div class="form-group" id="dbusernameerror">
                                            <!-- <label >数据库用户名</label> -->
                                            <label class="control-label" for="inputError"  ><i class=""></i> 数据库用户名</label>
                                                <input type="text" id="dbusername" class="form-control" placeholder="随机"  data-toggle="tooltip" data-placement="top" title="只能是 3-10 位的数字和字母">
                                        </div>

                                        <div class="form-group" id="dbuserpaserror">
                                            <!-- <label >数据库密码</label> -->
                                            <label class="control-label" for="inputError"  ><i class=""></i> 数据库密码</label>
                                                <input type="text" id="dbuserpas" class="form-control" placeholder="随机" data-toggle="tooltip" data-placement="top" title="只能是 6-16 位的数字和字母">
                                        </div>
                                        <div class="form-group" id="ftpusernameerror">
                                            <!-- <label >FTP用户名</label> -->
                                            <label class="control-label" for="inputError"  ><i class=""></i> FTP用户名</label>
                                                <input type="text" id="ftpusername" class="form-control" placeholder="随机" data-toggle="tooltip" data-placement="top" title="只能是 6-16 位的数字和字母">
                                        </div>
                                        <div class="form-group" id="ftpuserpaserror">
                                            <!-- <label >FTP密码</label> -->
                                            <label class="control-label" for="inputError"  ><i class=""></i> FTP密码</label>
                                                <input type="text" id="ftpuserpas" class="form-control" placeholder="随机" data-toggle="tooltip" data-placement="top" title="只能是 6-16 位的数字和字母">
                                        </div>
                                        <!-- select -->
                                        <div class="form-group">
                                            <label>集成常用网站系统</label>
                                            <select class="form-control">
                                                <option value="0">不集成</option>
                                                <volist name="INTEGRATED_WEB_SYS" id="vo">
                                                <option value="{$vo['sysurl']}">{$vo['systitle']}</option>
                                                </volist>
                                            </select>
                                        </div>
                                        <div class="form-group">
                                            <label >目录大小限制</label>
                                            <div class="input-group">
                                                <input type="number" min="0" class="form-control" placeholder="不限制" data-toggle="tooltip" data-placement="top" title="输入0或留空为不限制">
                                                <span class="input-group-addon">M</span>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label >数据库大小限制</label>
                                            <div class="input-group">
                                                <input type="number" min="0" class="form-control" placeholder="不限制" data-toggle="tooltip" data-placement="top" title="输入0或留空为不限制">
                                                <span class="input-group-addon">M</span>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label >下载限制</label>
                                            <div class="input-group">
                                                <input type="number" min="0" class="form-control" placeholder="不限制" data-toggle="tooltip" data-placement="top" title="输入0或留空为不限制">
                                                <span class="input-group-addon">KB/S</span>
                                            </div>
                                        </div>
                                    </div><!-- /.box-body -->

                                    <div class="box-footer">
                                        <button type="button" id="addallhost" class="btn btn-primary"><i class="fa fa-check-square-o"></i> 添加</button>
                                    </div>
                                </form>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div><!--/.col (right) -->
                    </div>   <!-- /.row -->
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->

<script src="__PUBLIC__/style/js/hostadd.js" type="text/javascript"></script>
<include file="./Application/Home/View/Public/footer.html" />